﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Nuanyang.Asp.Net.Core.Extension.Entities
{
    public class FunctionEntity
    {

        public FunctionEntity()
        {
            CreateTime = DateTime.Now;
            UpdateTime = DateTime.Now;
            IsDeleted = false;
            IsEnable = true;
            IsOpen = true;
        }

        /// <summary>
        /// 方法id
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 方法路由
        /// </summary>
        public string FunctionRouting { get; set; }

        /// <summary>
        /// 方法名
        /// </summary>
        public string FunctionName { get; set; }

        /// <summary>
        /// 方法显示名称
        /// </summary>
        public string DisplayName { get; set; }

        /// <summary>
        /// 是否是开放接口
        /// </summary>
        public bool IsOpen { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnable { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
